package com.yang.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yang.domain.entity.OperationLog;
import com.yang.mapper.OperationLogMapper;
import com.yang.service.OperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 操作日志业务接口实现类
 *
 * @author yang
 */
@Service
public class OperationLogServiceImpl extends ServiceImpl<OperationLogMapper, OperationLog> implements OperationLogService {

    @Autowired
    private OperationLogMapper operationLogMapper;



    @Override
    public void saveOperationLog(OperationLog operationLog) {
        // 保存操作日志
        operationLogMapper.insert(operationLog);
    }

}
